package com.ruoyi.vstac.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作品视频对象 video
 * 
 * @author kingner
 * @date 2024-07-08
 */
public class Video extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频文件的唯一标识 */
    private int videoId;

    /** 作品id，外键 */
    @Excel(name = "作品id，外键")
    private int entryId;

    /** 视频文件名称 */
    @Excel(name = "视频文件名称")
    private String videoName;

    /** 视频存储路径 */
    @Excel(name = "视频存储路径")
    private String videoPath;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setVideoId(int videoId)
    {
        this.videoId = videoId;
    }

    public int getVideoId()
    {
        return videoId;
    }
    public void setEntryId(int entryId)
    {
        this.entryId = entryId;
    }

    public int getEntryId()
    {
        return entryId;
    }
    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    public String getVideoName() 
    {
        return videoName;
    }
    public void setVideoPath(String videoPath) 
    {
        this.videoPath = videoPath;
    }

    public String getVideoPath() 
    {
        return videoPath;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoId", getVideoId())
            .append("entryId", getEntryId())
            .append("videoName", getVideoName())
            .append("videoPath", getVideoPath())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
